#include <stdio.h>

int main(void)
{
    char *name="tom";
    printf("%s\n",name);//打印输出字符串的值
    printf("name:%p,%c\n",name,*name);
    name++;
    printf("name:%p,%c\n",name,*name);
    name++;
    printf("name:%p,%c\n",name,*name);
    name++;
    printf("name:%p,%c\n",name,*name);
    return 0;
}